IXyDataSeries

StockSharp.Xaml.Charting.Model.DataSeries

Defines the interface to a typed Xy DataSeries, which contains columns of X-Values and Y-Values.

Implements: IDataSeries<T, T>, IDataSeries, ISuspendable, IXyDataSeries

Methods

Append
public void Append(TX x, TY y)
iXyDataSeries.Append(x, y)

Appends an X, Y point to the series

x
The X Value
y
The Y Value
Append
public void Append(IEnumerable<TX> x, IEnumerable<TY> y)
iXyDataSeries.Append(x, y)

Appends a list of X, Y points to the series

x
The list of X points
y
The list of Y points
Insert
public void Insert(int index, TX x, TY y)
iXyDataSeries.Insert(index, x, y)

Inserts an X,Y point at the specified index

index
The index to insert at
x
The X value
y
The Y value
InsertRange
public void InsertRange(int startIndex, IEnumerable<TX> x, IEnumerable<TY> y)
iXyDataSeries.InsertRange(startIndex, x, y)

Inserts a list of X, Y points at the specified index

startIndex
The index to insert at
x
The list of X points
y
The list of Y points
Update
public void Update(TX x, TY y)
iXyDataSeries.Update(x, y)

Updates an X,Y point specified by the X-Value passed in.

x
The X Value to key on when updating
y
The new Y value